package org.tongdao.yulong.withanno;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.util.stream.Stream;

/**
 * @Description: TODO
 * @author: 殷玉龙
 * @date: 2020年09月27日 6:23 下午
 */
public class BeannamesApplication {
  public static void main(String[] args) {
    ApplicationContext ctx = new ClassPathXmlApplicationContext("basic_dl/quickstart-withanno.xml");
    String[] beanNames = ctx.getBeanDefinitionNames();
    Stream.of(beanNames).forEach(System.out::println);

  }
}
